Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Muri is your friendly neighborhood MongoDB URI parser for Node.js.
$ npm install muri
var muri = require('muri');
var o = muri('mongodb://user:pass@local,remote:27018,japan:27019/neatdb?replicaSet=myreplset&journal=true&w=2&wtimeoutMS=50');
console.log(o);
{ hosts: [ { host: 'local', port: 27017 },
{ host: 'remote', port: 27018 },
{ host: 'japan', port: 27019 } ],
db: 'neatdb',
options: {
replicaSet: 'myreplset',
journal: true,
w: 2,
wtimeoutMS: 50
},
auth: {
user: 'user',
pass: 'pass'
}
}
The returned object contains the following properties:
{ user: 'username', pass: 'password' }
[{ host: 'local', port: 27107 }, { host: '..', port: port }]
ipc
will be set to the value specified [{ ipc: '/tmp/mongodb-27017' }]
FAQs
MongoDB URI parser
The npm package muri receives a total of 20,838 weekly downloads. As such, muri popularity was classified as popular.
We found that muri demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.